﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014BD RID: 5309
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateMovieRacingDataScRsp : IMessage<UpdateMovieRacingDataScRsp>, IMessage, IEquatable<UpdateMovieRacingDataScRsp>, IDeepCloneable<UpdateMovieRacingDataScRsp>, IBufferMessage
	{
		// Token: 0x170042D5 RID: 17109
		// (get) Token: 0x0600ED64 RID: 60772 RVA: 0x0027A313 File Offset: 0x00278513
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateMovieRacingDataScRsp> Parser
		{
			get
			{
				return UpdateMovieRacingDataScRsp._parser;
			}
		}

		// Token: 0x170042D6 RID: 17110
		// (get) Token: 0x0600ED65 RID: 60773 RVA: 0x0027A31A File Offset: 0x0027851A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateMovieRacingDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170042D7 RID: 17111
		// (get) Token: 0x0600ED66 RID: 60774 RVA: 0x0027A32C File Offset: 0x0027852C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateMovieRacingDataScRsp.Descriptor;
			}
		}

		// Token: 0x0600ED67 RID: 60775 RVA: 0x0027A333 File Offset: 0x00278533
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateMovieRacingDataScRsp()
		{
		}

		// Token: 0x0600ED68 RID: 60776 RVA: 0x0027A33C File Offset: 0x0027853C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateMovieRacingDataScRsp(UpdateMovieRacingDataScRsp other) : this()
		{
			this.jGDKKJNEGOH_ = ((other.jGDKKJNEGOH_ != null) ? other.jGDKKJNEGOH_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ED69 RID: 60777 RVA: 0x0027A388 File Offset: 0x00278588
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateMovieRacingDataScRsp Clone()
		{
			return new UpdateMovieRacingDataScRsp(this);
		}

		// Token: 0x170042D8 RID: 17112
		// (get) Token: 0x0600ED6A RID: 60778 RVA: 0x0027A390 File Offset: 0x00278590
		// (set) Token: 0x0600ED6B RID: 60779 RVA: 0x0027A398 File Offset: 0x00278598
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MovieRacingData JGDKKJNEGOH
		{
			get
			{
				return this.jGDKKJNEGOH_;
			}
			set
			{
				this.jGDKKJNEGOH_ = value;
			}
		}

		// Token: 0x170042D9 RID: 17113
		// (get) Token: 0x0600ED6C RID: 60780 RVA: 0x0027A3A1 File Offset: 0x002785A1
		// (set) Token: 0x0600ED6D RID: 60781 RVA: 0x0027A3A9 File Offset: 0x002785A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600ED6E RID: 60782 RVA: 0x0027A3B2 File Offset: 0x002785B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateMovieRacingDataScRsp);
		}

		// Token: 0x0600ED6F RID: 60783 RVA: 0x0027A3C0 File Offset: 0x002785C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateMovieRacingDataScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.JGDKKJNEGOH, other.JGDKKJNEGOH) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ED70 RID: 60784 RVA: 0x0027A410 File Offset: 0x00278610
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.jGDKKJNEGOH_ != null)
			{
				num ^= this.JGDKKJNEGOH.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ED71 RID: 60785 RVA: 0x0027A465 File Offset: 0x00278665
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ED72 RID: 60786 RVA: 0x0027A46D File Offset: 0x0027866D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ED73 RID: 60787 RVA: 0x0027A478 File Offset: 0x00278678
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.jGDKKJNEGOH_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.JGDKKJNEGOH);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ED74 RID: 60788 RVA: 0x0027A4D4 File Offset: 0x002786D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.jGDKKJNEGOH_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.JGDKKJNEGOH);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ED75 RID: 60789 RVA: 0x0027A52C File Offset: 0x0027872C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateMovieRacingDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.jGDKKJNEGOH_ != null)
			{
				if (this.jGDKKJNEGOH_ == null)
				{
					this.JGDKKJNEGOH = new MovieRacingData();
				}
				this.JGDKKJNEGOH.MergeFrom(other.JGDKKJNEGOH);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600ED76 RID: 60790 RVA: 0x0027A594 File Offset: 0x00278794
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600ED77 RID: 60791 RVA: 0x0027A5A0 File Offset: 0x002787A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 48U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.jGDKKJNEGOH_ == null)
					{
						this.JGDKKJNEGOH = new MovieRacingData();
					}
					input.ReadMessage(this.JGDKKJNEGOH);
				}
			}
		}

		// Token: 0x04005DE6 RID: 24038
		private static readonly MessageParser<UpdateMovieRacingDataScRsp> _parser = new MessageParser<UpdateMovieRacingDataScRsp>(() => new UpdateMovieRacingDataScRsp());

		// Token: 0x04005DE7 RID: 24039
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005DE8 RID: 24040
		public const int JGDKKJNEGOHFieldNumber = 3;

		// Token: 0x04005DE9 RID: 24041
		private MovieRacingData jGDKKJNEGOH_;

		// Token: 0x04005DEA RID: 24042
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04005DEB RID: 24043
		private uint retcode_;
	}
}
